home *** CD-ROM | disk | FTP | other *** search
- #!/usr/bin/install-menu
- # gnome-vfolder based on:
- # Also used as /etc/menu-methods/menu-xdg
- # Copyright 2004 - Chris Cheney <ccheney@debian.org>
- # Licensed under the GNU General Public License, version 2.
-
- !include menu.h
-
- compat="menu-2"
- outputencoding="UTF-8";
- outputlanguage="C";
-
- function DirEntry() =
- " <Name>" translate("",title()) "</Name>\n"
- " <Desktop>" "debian" replacewith(tolower($section),"/","-") ".directory" "</Desktop>\n";
-
- function desktop() = prefix() "/../../.local/share/applications/menu-xdg/X-Debian" replacewith($basesection,"/","-") "-" tolower(replacewith($title,"/ ","__") ".desktop");
-
- supported;
- x11 = "<Include>" desktop() "</Include>\n";
- text = "<Include>" desktop() "</Include>\n";
- endsupported;
-
- startmenu = " <Folder>\n" DirEntry();
- endmenu = " </Folder>\n";
- submenutitle = "";
-
- treewalk = "(M)";
-
- genmenu = "applications.debmenu";
- rcfile = "applications.vfolder-info";
- examplercfile="applications.template";
- mainmenutitle="Debian-user";
-
- rootsection = "";
-
- onlyrunasuser=true;
- userprefix = ".gnome2/vfolders";
- rootprefix = "/etc/gnome-vfs-2.0/vfolders";
-
- preoutput = "";
- postoutput = "";
-
-